package com.clwl.supervise.superviseapp.mapper.certificaReview;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.clwl.supervise.superviseapp.entity.supervise.JgExpertArchives;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

/**
 * JG_EXPERT_ARCHIVES Mapper接口
 * @author: GuXueJian
 * @date 2023-10-17 13:14:19
 */
public interface JgExpertArchivesMapper extends BaseMapper<JgExpertArchives> {

    /**
     * 自定义分页查询
     * @param  page
     * @param  jgExpertArchives 实体类
     */
    Page<JgExpertArchives> findPage(IPage<JgExpertArchives> page,
                                      @Param("jgExpertArchives") JgExpertArchives jgExpertArchives,
                                      @Param("sql_filter") String sql_filter);

    /**
     * 通过ID查询
     * @param id 查询ID
     * @return
     */
    JgExpertArchives findJgExpertArchivesById(@Param("id") Long id);

    /**
     * 查询列表
     * @param jgExpertArchives 查询条件对象
     * @return
     */
    List<JgExpertArchives> findList(JgExpertArchives jgExpertArchives);

}
